package com.genius.reservation.UseTime.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.genius.reservation.UseTime.entity.UseTimeEntity;
import com.genius.reservation.user.entity.UserInformation;

public interface IUseTimeService extends IService<UseTimeEntity> {
    default LambdaQueryWrapper<UseTimeEntity> getWrapper(){
        return new LambdaQueryWrapper();
    }

    default UseTimeEntity addAndUp(UseTimeEntity useTime){
        this.saveOrUpdate(useTime);
        return useTime;
    }
}
